dab841d4ecaf434ff7cf87fa8c5af76edd8acf53,src/main/java/org/elasticsearch/index/search/slowlog/ShardSlowLogSearchService.java,ShardSlowLogSearchService,ShardSlowLogSearchService,#ShardId#Settings#IndexSettingsService#,124

Before Change



        this.fetchWarnThreshold = parseTimeSetting("threshold.fetch.warn", -1);
        this.fetchInfoThreshold = parseTimeSetting("threshold.fetch.info", -1);
        this.fetchDebugThreshold = parseTimeSetting("threshold.fetch.debug", -1);
        this.fetchTraceThreshold = parseTimeSetting("threshold.fetch.trace", -1);

        this.level = componentSettings.get("level", "TRACE").toUpperCase(Locale.ROOT);

After Change



        this.fetchWarnThreshold = componentSettings.getAsTime("threshold.fetch.warn", TimeValue.timeValueNanos(-1)).nanos();
        this.fetchInfoThreshold = componentSettings.getAsTime("threshold.fetch.info", TimeValue.timeValueNanos(-1)).nanos();
        this.fetchDebugThreshold = componentSettings.getAsTime("threshold.fetch.debug", TimeValue.timeValueNanos(-1)).nanos();
        this.fetchTraceThreshold = componentSettings.getAsTime("threshold.fetch.trace", TimeValue.timeValueNanos(-1)).nanos();

        this.level = componentSettings.get("level", "TRACE").toUpperCase(Locale.ROOT);